package com.jiankangjin.transsystem.vo;

import java.util.List;

/**
 * 创建订单时商品明细的解析Vo对象
 * V0.3版开始使用
 */
public class DiagDetailVo {
	/** 诊断编号  */
	private String diag_id;
	/** 诊断名称  */
	private String diag_name;
	/** 诊断说明  */
	private String diag_comment;
	/** 医疗机构编号  */
	private String his_id;
	/** 医疗机构名称  */
	private String his_name;
	/** 药品说明  */
	private List<Goods> goods;
	
	public class Goods {
		/** 商品编号  */
		private String goods_id;
		/** 商品类别  */
		private String goods_type;
		/** 医保药品编号  */
		private String mi_code;
		/** 医保分类  */
		private String mi_type;
		/** 诺德药品编号  */
		private String nd_code;
		/** 国药准字  */
		private String ap_code;
		/** 药品批次号  */
		private String bat_no;
		/** 物流编号  */
		private String log_code;
		/** 通用名称  */
		private String cm_name;
		/** 化学名  */
		private String ch_name;
		/** 规格  */
		private String std;
		/** 商品名称  */
		private String goods_name;
		/** 商品数量  */
		private int goods_quantity;
		/** 商品单价  */
		private int goods_price;
		/** 商品展示地址  */
		private String goods_url;
		
		public Goods() {
			
		}
		
		public Goods(String goods_id, String goods_type, String mi_code,
				String mi_type, String nd_code, String ap_code, String bat_no,
				String log_code, String cm_name, String ch_name, String std,
				String goods_name, int goods_quantity, int goods_price,
				String goods_url) {
			super();
			this.goods_id = goods_id;
			this.goods_type = goods_type;
			this.mi_code = mi_code;
			this.mi_type = mi_type;
			this.nd_code = nd_code;
			this.ap_code = ap_code;
			this.bat_no = bat_no;
			this.log_code = log_code;
			this.cm_name = cm_name;
			this.ch_name = ch_name;
			this.std = std;
			this.goods_name = goods_name;
			this.goods_quantity = goods_quantity;
			this.goods_price = goods_price;
			this.goods_url = goods_url;
		}


		/**  */
		public String getGoods_id() {
			return goods_id;
		}
		/**  */
		public void setGoods_id(String goods_id) {
			this.goods_id = goods_id;
		}
		/**  */
		public String getGoods_type() {
			return goods_type;
		}
		/**  */
		public void setGoods_type(String goods_type) {
			this.goods_type = goods_type;
		}
		/**  */
		public String getMi_code() {
			return mi_code;
		}
		/**  */
		public void setMi_code(String mi_code) {
			this.mi_code = mi_code;
		}
		/**  */
		public String getMi_type() {
			return mi_type;
		}
		/**  */
		public void setMi_type(String mi_type) {
			this.mi_type = mi_type;
		}
		/**  */
		public String getNd_code() {
			return nd_code;
		}
		/**  */
		public void setNd_code(String nd_code) {
			this.nd_code = nd_code;
		}
		/**  */
		public String getAp_code() {
			return ap_code;
		}
		/**  */
		public void setAp_code(String ap_code) {
			this.ap_code = ap_code;
		}
		/**  */
		public String getBat_no() {
			return bat_no;
		}
		/**  */
		public void setBat_no(String bat_no) {
			this.bat_no = bat_no;
		}
		/**  */
		public String getLog_code() {
			return log_code;
		}
		/**  */
		public void setLog_code(String log_code) {
			this.log_code = log_code;
		}
		/**  */
		public String getCm_name() {
			return cm_name;
		}
		/**  */
		public void setCm_name(String cm_name) {
			this.cm_name = cm_name;
		}
		/**  */
		public String getCh_name() {
			return ch_name;
		}
		/**  */
		public void setCh_name(String ch_name) {
			this.ch_name = ch_name;
		}
		/**  */
		public String getStd() {
			return std;
		}
		/**  */
		public void setStd(String std) {
			this.std = std;
		}
		/**  */
		public String getGoods_name() {
			return goods_name;
		}
		/**  */
		public void setGoods_name(String goods_name) {
			this.goods_name = goods_name;
		}
		/**  */
		public int getGoods_quantity() {
			return goods_quantity;
		}
		/**  */
		public void setGoods_quantity(int goods_quantity) {
			this.goods_quantity = goods_quantity;
		}
		/**  */
		public int getGoods_price() {
			return goods_price;
		}
		/**  */
		public void setGoods_price(int goods_price) {
			this.goods_price = goods_price;
		}
		/**  */
		public String getGoods_url() {
			return goods_url;
		}
		/**  */
		public void setGoods_url(String goods_url) {
			this.goods_url = goods_url;
		}

		/**
		 * @return
		 */
		@Override
		public String toString() {
			return "Goods [goods_id=" + goods_id + ", goods_type=" + goods_type
					+ ", mi_code=" + mi_code + ", mi_type=" + mi_type
					+ ", nd_code=" + nd_code + ", ap_code=" + ap_code
					+ ", bat_no=" + bat_no + ", log_code=" + log_code
					+ ", cm_name=" + cm_name + ", ch_name=" + ch_name
					+ ", std=" + std + ", goods_name=" + goods_name
					+ ", goods_quantity=" + goods_quantity + ", goods_price="
					+ goods_price + ", goods_url=" + goods_url + "]";
		}
		
	}//end with Goods class

	public DiagDetailVo() {
		
	}

	/**
	 * @param diag_id
	 * @param diag_name
	 * @param diag_comment
	 * @param his_id
	 * @param his_name
	 * @param goods
	 */
	public DiagDetailVo(String diag_id, String diag_name, String diag_comment,
			String his_id, String his_name, List<Goods> goods) {
		super();
		this.diag_id = diag_id;
		this.diag_name = diag_name;
		this.diag_comment = diag_comment;
		this.his_id = his_id;
		this.his_name = his_name;
		this.goods = goods;
	}


	/**  */
	public String getDiag_id() {
		return diag_id;
	}


	/**  */
	public void setDiag_id(String diag_id) {
		this.diag_id = diag_id;
	}


	/**  */
	public String getDiag_name() {
		return diag_name;
	}


	/**  */
	public void setDiag_name(String diag_name) {
		this.diag_name = diag_name;
	}


	/**  */
	public String getDiag_comment() {
		return diag_comment;
	}


	/**  */
	public void setDiag_comment(String diag_comment) {
		this.diag_comment = diag_comment;
	}


	/**  */
	public String getHis_id() {
		return his_id;
	}


	/**  */
	public void setHis_id(String his_id) {
		this.his_id = his_id;
	}


	/**  */
	public String getHis_name() {
		return his_name;
	}


	/**  */
	public void setHis_name(String his_name) {
		this.his_name = his_name;
	}


	/**  */
	public List<Goods> getGoods() {
		return goods;
	}


	/**  */
	public void setGoods(List<Goods> goods) {
		this.goods = goods;
	}

	/**
	 * @return
	 */
	@Override
	public String toString() {
		return "DiagDetailVo [diag_id=" + diag_id + ", diag_name=" + diag_name
				+ ", diag_comment=" + diag_comment + ", his_id=" + his_id
				+ ", his_name=" + his_name + ", goods=" + goods + "]";
	}
	
}
